package com.huatai.datadevelop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author hecai
 * @description: TODO 执行sql语句配置
 * @date 2022/12/27 11:04
 * @Version 1.0
 */
@ApiModel(value = "执行sql实体类",description = "执行sql实体类")
@Data
@TableName("execute_sql_config")
public class ExecuteEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
	@ApiModelProperty("任务id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * sql语句
     */
	@ApiModelProperty("sql语句")
    private String sqlStr = "";
    /**
     * 中文描述
     */
	@ApiModelProperty("中文描述")
    private String name = "";
    /**
     * 接口名称  必须是全又英文
     */
	@ApiModelProperty("接口名称")
    private String interfaceName = "";
    /**
     * 备注
     */
	@ApiModelProperty("备注")
    private String note = "";
    /**
     * 需要查询的字段
     */
	@ApiModelProperty("需要查询的字段")
    private String field = "";
    /**
     * 表名称
     */
	@ApiModelProperty("表名称")
    private String tableName = "";
}
